package cn.cdnsu.auth.mapper;

import cn.cdnsu.auth.domain.Menu;
import cn.cdnsu.auth.dto.MenuDTO;
import cn.cdnsu.auth.query.MenuQuery;
import cn.cdnsu.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> menuTree();

    List<Long> selectByMenuId(Long id);

    void insertByMenuId(MenuDTO menuDTO);

    List<Menu> queryMenuTree(Long id);
}
